<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>StatSVN - Directory _lhmf/src/it/polito/ai/lhmf/json/</title>
 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
    <meta name="Generator" content="StatSVN 0.7.0"/>
<link rel="stylesheet" href="objectlab-statcvs.css" type="text/css"/>
<script type="text/javascript" charset="utf-8" src="http://bit.ly/javascript-api.js?version=latest&#38;login=statsvn&#38;apiKey=R_2c362b417d0517c27876cbaca1bb68cc"></script>
<script type="text/javascript" charset="utf-8">
   // wait until page is loaded to call API
   var redir_url;
   var short_url;
   BitlyCB.myShortenCallback = function(data) {
      // this is how to get a result of shortening a single url
      var result;
      short_url=null;
      for (var r in data.results) {
         result = data.results[r];
         result['longUrl'] = r;
         short_url = result['shortUrl'];
         break;
      }
      if (short_url==null) // bit.ly failed
      document.location=redir_url;
      else
      redirToTwitter();
   };
   function shortenTweet(url) {
      if (short_url == null || redir_url!=url) {
      redir_url = url;
      BitlyClient.shorten(document.location, 'BitlyCB.myShortenCallback');
      }
      else
      redirToTwitter();
      return false;
   }
   function redirToTwitter() { 
      // replace {0} which is visible as %7B0} in the link
      document.location = redir_url.replace('%7B0}', short_url);
   }
</script>
  </head>

<body>

<h1>Directory _lhmf/src/it/polito/ai/lhmf/json/</h1>
<div id="parentlink">&#171; <a href="index.html">Development Statistics for /trunk</a></div>
<dl class="attributes">
    <dt>Directory Created:</dt>
    <dd><span class="date">2012-06-26 16:50</span></dd>
    <dt>Total Files:</dt>
    <dd>14</dd>
    <dt>Deleted Files:</dt>
    <dd>0</dd>
    <dt>Lines of Code:</dt>
    <dd>790</dd>
</dl>
<p class="dirtree">
<a href="dir.html">[root]</a>/<a href="dir__lhmf.html">_lhmf</a>/<a href="dir__lhmf_src.html">src</a>/<a href="dir__lhmf_src_it.html">it</a>/<a href="dir__lhmf_src_it_polito.html">polito</a>/<a href="dir__lhmf_src_it_polito_ai.html">ai</a>/<a href="dir__lhmf_src_it_polito_ai_lhmf.html">lhmf</a>/<strong>json</strong><br/>
</p>

<div class="section">
<h2>Lines of Code</h2>
<p class="chart"><img src="loc_module__lhmf_src_it_polito_ai_lhmf_json.png" alt="_lhmf/src/it/polito/ai/lhmf/json/ Lines of Code" width="800" height="500" /></p></div>
<div class="section">
<h2>Developers</h2>
  <table  rules="groups" summary="All authors and the number of their changes and lines of code in this directory">
    <colgroup align="left"/>
    <colgroup align="right"/>
    <colgroup align="right"/>
    <colgroup align="right"/>
    <thead>
      <tr>
        <th>Author</th>
        <th>Changes</th>
        <th>Lines of Code</th>
        <th>Lines per Change</th>
      </tr>
    </thead>
    <tfoot>
      <tr>
        <th>Totals</th>
        <td>58 (100.0%)</td>
        <td>1000 (100.0%)</td>
        <td>17.2</td>
      </tr>
    </tfoot>
    <tbody>
      <tr  class="odd">
        <th><a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a></th>
        <td>36 (62.1%)</td>
        <td>675 (67.5%)</td>
        <td>18.7</td>
      </tr>
      <tr  class="even">
        <th><a href="user_hasmet87@gmail.com.html" class="author">hasmet87@gmail.com</a></th>
        <td>8 (13.8%)</td>
        <td>207 (20.7%)</td>
        <td>25.8</td>
      </tr>
      <tr  class="odd">
        <th><a href="user_l.moretto88@gmail.com.html" class="author">l.moretto88@gmail.com</a></th>
        <td>10 (17.2%)</td>
        <td>110 (11.0%)</td>
        <td>11.0</td>
      </tr>
      <tr  class="even">
        <th><a href="user_jyxpowa@gmail.com.html" class="author">jyxpowa@gmail.com</a></th>
        <td>4 (6.9%)</td>
        <td>8 (0.8%)</td>
        <td>2.0</td>
      </tr>
    </tbody>
  </table>

</div>
<div class="section">
<h2>Most Recent Commits</h2>
<dl class="commitlist">
  <dt><a name="20"></a>
    <a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a>
    <span class="date">2012-07-25 14:35</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">184</span></span>
  </dt>
  <dd>
    <p class="comment">
Aggiornato Member De/Serializer
    </p>
    <p class="commitdetails"><strong>3</strong> lines of code changed in <span class="files">2 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/json</strong>:
        MemberDeserializer.java&#160;<span class="change">(+2&#160;-2)</span>,
        MemberSerializer.java&#160;<span class="change">(+1&#160;-1)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="19"></a>
    <a href="user_hasmet87@gmail.com.html" class="author">hasmet87@gmail.com</a>
    <span class="date">2012-07-25 12:59</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">180</span></span>
  </dt>
  <dd>
    <p class="comment">
Modifiche dopo l'upgrade del database e aggiunte al controllore delle schede
    </p>
    <p class="commitdetails"><strong>3</strong> lines of code changed in <span class="files">2 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/json</strong>:
        PurchaseDeserializer.java&#160;<span class="change">(+2)</span>,
        PurchaseSerializer.java&#160;<span class="change">(+1)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="18"></a>
    <a href="user_jyxpowa@gmail.com.html" class="author">jyxpowa@gmail.com</a>
    <span class="date">2012-07-20 16:21</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">158</span></span>
  </dt>
  <dd>
    <p class="comment">
Pannello Admin Completato. (Bisogna fare tutta la parte relativa ad ordini e prodotti). Implementato anche la generazione delle password. Modificato modalità di invio email. Implementato l'authMail in modo tale che attivi direttamente l'account se è stato creato dall'admin (Ancora da Testare). <br />
<br />
Perfavore se trovate bug fatemelo sapere. 
    </p>
    <p class="commitdetails"><strong>8</strong> lines of code changed in <span class="files">4 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/json</strong>:
        MemberDeserializer.java&#160;<span class="change">(+2&#160;-2)</span>,
        MemberSerializer.java&#160;<span class="change">(+2&#160;-4)</span>,
        SupplierDeserializer.java&#160;<span class="change">(+2&#160;-2)</span>,
        SupplierSerializer.java&#160;<span class="change">(+2&#160;-2)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="17"></a>
    <a href="user_l.moretto88@gmail.com.html" class="author">l.moretto88@gmail.com</a>
    <span class="date">2012-07-18 14:39</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">148</span></span>
  </dt>
  <dd>
    <p class="comment">

    </p>
    <p class="commitdetails"><strong>25</strong> lines of code changed in <span class="files">6 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/json</strong>:
        CustomObjectMapper.java&#160;<span class="change">(+5&#160;-5)</span>,
        MemberDeserializer.java&#160;<span class="change">(+3&#160;-5)</span>,
        OrderDeserializer.java&#160;<span class="change">(+4&#160;-7)</span>,
        ProductCategoryDeserializer.java&#160;<span class="change">(+7)</span>,
        PurchaseDeserializer.java&#160;<span class="change">(+4&#160;-7)</span>,
        SupplierDeserializer.java&#160;<span class="change">(+2&#160;-5)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="16"></a>
    <a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a>
    <span class="date">2012-07-17 17:05</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">137</span></span>
  </dt>
  <dd>
    <p class="comment">
Revisione deser/ser + hibernate completata
    </p>
    <p class="commitdetails"><strong>19</strong> lines of code changed in <span class="files">4 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/json</strong>:
        ProductDeserializer.java&#160;<span class="change">(+8&#160;-8)</span>,
        ProductSerializer.java&#160;<span class="change">(+9&#160;-9)</span>,
        SupplierDeserializer.java&#160;<span class="change">(+1&#160;-1)</span>,
        SupplierSerializer.java&#160;<span class="change">(+1&#160;-1)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="15"></a>
    <a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a>
    <span class="date">2012-07-17 16:45</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">136</span></span>
  </dt>
  <dd>
    <p class="comment">

    </p>
    <p class="commitdetails"><strong>1</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/json</strong>:
        CustomObjectMapper.java&#160;<span class="change">(+1&#160;-1)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="14"></a>
    <a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a>
    <span class="date">2012-07-17 16:44</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">135</span></span>
  </dt>
  <dd>
    <p class="comment">
Corretto bug su ProductCategorySerializer: mismatch tra campo serializzato e deserializzato (idProduct_Category - idProductCategory) 
    </p>
    <p class="commitdetails"><strong>1</strong> lines of code changed in <span class="files">3 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/json</strong>:
        OrderSerializer.java&#160;<span class="change">(-2)</span>,
        ProductCategoryDeserializer.java&#160;<span class="change">(-19)</span>,
        ProductCategorySerializer.java&#160;<span class="change">(+1&#160;-1)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="13"></a>
    <a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a>
    <span class="date">2012-07-17 16:39</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">134</span></span>
  </dt>
  <dd>
    <p class="comment">
Corretto bug su OrderDeserializer (doppio node.get(\"date_close\")) e corretto formato (camelCase per JSON e js se no facciamo confusione)
    </p>
    <p class="commitdetails"><strong>17</strong> lines of code changed in <span class="files">2 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/json</strong>:
        OrderDeserializer.java&#160;<span class="change">(+5&#160;-5)</span>,
        OrderSerializer.java&#160;<span class="change">(+12&#160;-6)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="12"></a>
    <a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a>
    <span class="date">2012-07-15 18:45</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">127</span></span>
  </dt>
  <dd>
    <p class="comment">
Fixed bug on Product CRUD
    </p>
    <p class="commitdetails"><strong>14</strong> lines of code changed in <span class="files">3 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/json</strong>:
        MemberDeserializer.java&#160;<span class="change">(+2&#160;-2)</span>,
        ProductDeserializer.java&#160;<span class="change">(+9&#160;-9)</span>,
        ProductSerializer.java&#160;<span class="change">(+3&#160;-3)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="11"></a>
    <a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a>
    <span class="date">2012-07-15 17:11</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">123</span></span>
  </dt>
  <dd>
    <p class="comment">
Tolte annotazioni JSONSerialize/Deserialize da classi orm package - fa tutto il CustomObjectMapper; aggiunto il deserializzatore per ProductCategory; aggiunta funzione per ricevere i prodotti solo del supplier che fa la richiesta; corrette alcune query hql delle interfacce (per la prossima revisione saranno tutte corrette)
    </p>
    <p class="commitdetails"><strong>74</strong> lines of code changed in <span class="files">3 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/json</strong>:
        CustomObjectMapper.java&#160;<span class="change">(+14&#160;-4)</span>,
        ProductCategoryDeserializer.java&#160;<span class="new">(new&#160;59)</span>,
        ProductDeserializer.java&#160;<span class="change">(+1&#160;-1)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="10"></a>
    <a href="user_hasmet87@gmail.com.html" class="author">hasmet87@gmail.com</a>
    <span class="date">2012-07-14 12:59</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">104</span></span>
  </dt>
  <dd>
    <p class="comment">
Modifiche su crud, serializer e deserializer su order e purchase
    </p>
    <p class="commitdetails"><strong>118</strong> lines of code changed in <span class="files">3 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/json</strong>:
        OrderDeserializer.java&#160;<span class="new">(new&#160;60)</span>,
        OrderSerializer.java&#160;<span class="change">(-8)</span>,
        PurchaseDeserializer.java&#160;<span class="new">(new&#160;58)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="9"></a>
    <a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a>
    <span class="date">2012-07-13 20:04</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">98</span></span>
  </dt>
  <dd>
    <p class="comment">
Added MessageInterface + minox fixes
    </p>
    <p class="commitdetails"><strong>3</strong> lines of code changed in <span class="files">2 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/json</strong>:
        SupplierDeserializer.java&#160;<span class="change">(+2&#160;-2)</span>,
        SupplierSerializer.java&#160;<span class="change">(+1&#160;-1)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="8"></a>
    <a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a>
    <span class="date">2012-07-13 17:02</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">93</span></span>
  </dt>
  <dd>
    <p class="comment">
Added MemberDeserializer; regDate have to be serialized?
    </p>
    <p class="commitdetails"><strong>106</strong> lines of code changed in <span class="files">5 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/json</strong>:
        CustomObjectMapper.java&#160;<span class="change">(+4&#160;-4)</span>,
        MemberDeserializer.java&#160;<span class="new">(new&#160;78)</span>,
        MemberSerializer.java&#160;<span class="change">(+17&#160;-13)</span>,
        SupplierDeserializer.java&#160;<span class="change">(+4&#160;-4)</span>,
        SupplierSerializer.java&#160;<span class="change">(+3&#160;-3)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="7"></a>
    <a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a>
    <span class="date">2012-07-13 16:10</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">92</span></span>
  </dt>
  <dd>
    <p class="comment">
CRUD and ajax for Supplier; unable to test -&gt; to do as soon as possible; added class to deserialize Date from JSON to Java
    </p>
    <p class="commitdetails"><strong>272</strong> lines of code changed in <span class="files">6 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/json</strong>:
        CustomObjectMapper.java&#160;<span class="change">(+19&#160;-10)</span>,
        ISO8601DateParser.java&#160;<span class="new">(new&#160;134)</span>,
        MemberSerializer.java&#160;<span class="change">(+1)</span>,
        ProductDeserializer.java&#160;<span class="change">(+12&#160;-15)</span>,
        SupplierDeserializer.java&#160;<span class="new">(new&#160;65)</span>,
        SupplierSerializer.java&#160;<span class="new">(new&#160;41)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="6"></a>
    <a href="user_hasmet87@gmail.com.html" class="author">hasmet87@gmail.com</a>
    <span class="date">2012-07-11 17:57</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">83</span></span>
  </dt>
  <dd>
    <p class="comment">

    </p>
    <p class="commitdetails"><strong>38</strong> lines of code changed in <span class="files">2 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/json</strong>:
        OrderSerializer.java&#160;<span class="change">(+5&#160;-17)</span>,
        PurchaseSerializer.java&#160;<span class="new">(new&#160;33)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="5"></a>
    <a href="user_hasmet87@gmail.com.html" class="author">hasmet87@gmail.com</a>
    <span class="date">2012-07-11 15:15</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">80</span></span>
  </dt>
  <dd>
    <p class="comment">
Tolti alcuni errori.....prossimo commit a fine giornata
    </p>
    <p class="commitdetails"><strong>48</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/json</strong>:
        OrderSerializer.java&#160;<span class="new">(new&#160;48)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="4"></a>
    <a href="user_l.moretto88@gmail.com.html" class="author">l.moretto88@gmail.com</a>
    <span class="date">2012-07-08 13:49</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">73</span></span>
  </dt>
  <dd>
    <p class="comment">
troppa roba. se avete dubbi chiedete.<br />
Più che altro guardate come ho usato le annotazioni @Transaciton e @PreAuthorize un pò in giro nel codice.
    </p>
    <p class="commitdetails"><strong>18</strong> lines of code changed in <span class="files">2 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/json</strong>:
        CustomObjectMapper.java&#160;<span class="change">(+3&#160;-2)</span>,
        ProductDeserializer.java&#160;<span class="change">(+15&#160;-12)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="3"></a>
    <a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a>
    <span class="date">2012-07-07 22:55</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">72</span></span>
  </dt>
  <dd>
    <p class="comment">
Bug r70 fixed; check if other bugs occurs
    </p>
    <p class="commitdetails"><strong>4</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/json</strong>:
        ProductDeserializer.java&#160;<span class="change">(+4&#160;-4)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="2"></a>
    <a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a>
    <span class="date">2012-07-07 20:01</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">70</span></span>
  </dt>
  <dd>
    <p class="comment">
Added deserializer: WARNING it does not work yet, do not revert to this revision unless you want to debug ProductDeserializer.java
    </p>
    <p class="commitdetails"><strong>161</strong> lines of code changed in <span class="files">4 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/json</strong>:
        CustomObjectMapper.java&#160;<span class="change">(+4&#160;-1)</span>,
        ProductCategorySerializer.java&#160;<span class="new">(new&#160;34)</span>,
        ProductDeserializer.java&#160;<span class="new">(new&#160;77)</span>,
        ProductSerializer.java&#160;<span class="new">(new&#160;46)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="1"></a>
    <a href="user_l.moretto88@gmail.com.html" class="author">l.moretto88@gmail.com</a>
    <span class="date">2012-06-26 16:50</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">62</span></span>
  </dt>
  <dd>
    <p class="comment">
-fixata query per ottenimento log. usa Timestamp e 'between ... and ...'<br />
-creato ObjectMapper customizzato (CustomObjectMapper.java) per serializzazione custom json di Member. Usare questa classe per imostare serializzatori custom per eventuali altre classi (se le classi hanno loop di dipendenze la serializzazione crasha, quindi bisogna scegliere bene cosa serializzare e cosa no)<br />
-modificato lhmf-servlet.xml per impostare ObjectMapper customizzato per la serializzazione degli oggetti hibernate<br />
-aggiunto controllo in AjaxController che, se arriva richiesta per i log, l'utente loggato sia di tipo admin (3)
    </p>
    <p class="commitdetails"><strong>67</strong> lines of code changed in <span class="files">2 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/json</strong>:
        CustomObjectMapper.java&#160;<span class="new">(new&#160;24)</span>,
        MemberSerializer.java&#160;<span class="new">(new&#160;43)</span>
      </li>
    </ul>
  </dd>

</dl>

</div><div id="generatedby">Generated by <a href="http://www.statsvn.org">StatSVN</a> 0.7.0</div>
</body>
</html>